package chendu.mapper;

import chendu.entity.BuyerAddress;
import chendu.form.AddressForm;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


import java.util.Date;
import java.util.List;////
@Mapper
public interface AddressMapper {

    List<BuyerAddress> findAll();

    
    //List<BuyerAddress> findById(@Param("id") Integer id);

    //update buyer_address
    
    BuyerAddress findById(Integer id);

    void updateByID(BuyerAddress buyerAddress);

    void createNewBuyerAddress(BuyerAddress buyerAddress);
}
